const path = require('path');

module.exports={
    mode:'development',
    entry:'./js/1.js',
    output:{
        path:path.resolve(__dirname,'build'),
        filename:'bundle.min.js' 
    },
    module:{
        rules:[
            {
                test:/\.jsx?/i,
                exclude:/node_modules/,
                use:{
                    loader:'eslint-loader',
                    options:{
                    }
                }
            }
        ]
    },
    devtool:'cheap-module-eval-source-map'
}